#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include<QVector>
#include<QString>
#include<QTableWidgetItem>
QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
    QVector<QVector<int>> parse2DVector( QString &input);
    void setTableColor();
private slots:
    void on_pushButton_shurukuang_clicked();

    void on_pushButton_biaoge_clicked();

    void on_pushButton_clicked();

    void on_pushButton_qingkong_clicked();

    void on_pushButton_qingkongbiao_clicked();

    void on_pushButton_tuichu_clicked();

    void on_tableWidget_itemChanged(QTableWidgetItem *item);

private:
    Ui::Widget *ui;
};
#endif // WIDGET_H
